package org.springblade.modules.operationAnalysis.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import java.io.Serializable;
import java.util.Date;

/**
 * 每日转化效果分析-运营分析实体类
 *
 * @author BladeX
 * @since 2020-08-28
 */
@Data
@TableName("t_o_daily_activity_type_report")
@ApiModel(value = "DailyActivityTypeReport对象", description = "每日转化效果分析-运营分析")
public class DailyActivityTypeReport implements Serializable {

	private static final long serialVersionUID = 1L;

	@TableId(value = "id", type = IdType.AUTO)
	@Column(columnDefinition = " bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键' ")
	private Long id;
	/**
	 * 日期YYYY-MM-DD
	 */
	@ApiModelProperty(value = "日期YYYY-MM-DD")
	@Column(columnDefinition = "  varchar(10) NOT NULL COMMENT '日期YYYY-MM-DD' ")
	private String date;
	/**
	 * 活动类型
	 */
	@ApiModelProperty(value = "活动类型")
	@Column(columnDefinition = "  varchar(50) DEFAULT NULL COMMENT '活动类型' ")
	private String activityType;

	@Column(columnDefinition = "  varchar(20) DEFAULT NULL COMMENT '操作系统' ")
	private String os;

	@Column(columnDefinition = "  varchar(20) DEFAULT NULL COMMENT '客户端' ")
	private String client;

	/**
	 * 曝光数
	 */
	@ApiModelProperty(value = "曝光数")
	@Column(columnDefinition = "  int(11) DEFAULT NULL COMMENT '曝光数' ")
	private Integer exposureNum;
	/**
	 * 点击进入次数
	 */
	@ApiModelProperty(value = "点击进入次数")
	@Column(columnDefinition = "  int(11) DEFAULT NULL COMMENT '点击进入次数' ")
	private Integer clickToEnterNum;
	/**
	 * 点击进入人数
	 */
	@ApiModelProperty(value = "点击进入人数")
	@Column(columnDefinition = "  int(11) DEFAULT NULL COMMENT '点击进入人数' ")
	private Integer clickToEnterUserNum;
	/**
	 * 购买人数
	 */
	@ApiModelProperty(value = "购买人数")
	@Column(columnDefinition = "  int(11) DEFAULT NULL COMMENT '购买人数' ")
	private Integer buyUserNum;
	/**
	 * 销售额
	 */
	@ApiModelProperty(value = "销售额")
	@Column(columnDefinition = "  bigint(20) DEFAULT NULL COMMENT '销售额' ")
	private Long salesAmount;

	@Column(columnDefinition = "  int(11) DEFAULT NULL COMMENT '销量' ")
	private Integer salesNum;

	/**
	 * 创建时间
	 */
	@Column(columnDefinition = "  datetime COMMENT '创建时间' ")
	private Date created;
}
